package com.github.gaojh.mvc.annotation;

public enum RequestMethod {
    /**
     * 类型
     */
    GET,
    HEAD,
    POST,
    PUT,
    PATCH,
    DELETE,
    OPTIONS,
    CONNECT,
    TRACE;

    private RequestMethod() {
    }

    public static String[] getRequestMethodAll() {
        return new String[]{
                "GET",
                "HEAD",
                "POST",
                "PUT",
                "PATCH",
                "DELETE",
                "OPTIONS",
                "CONNECT",
                "TRACE"
        };
    }
}